<!DOCTYPE html>
<html>
  <head>
    <title>ch3.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->

<h2>This is ch3 page. 
        </h2>
	<script text="text/javascript">
		/*
		var message = "hi";
		//alert(message);
		alert(typeof(message));
		alert(typeof 95);
		var msg;
		alert(msg == undefined);
		if(01+02 == 0.3)
		{
			alert("result is 0.3!");
		}
		else
		{
			alert("result is " + (0.1+0.2) + "!");
		}
		
		var result = Number.MAX_VALUE + Number.MAX_VALUE;
		alert(isFinite(result));
		alert(isNaN(NaN));
		alert(isNaN("lsjdlfjds"));
		var num = -18;
		alert(num.toString(2));
		*/
		document.write("window's props and values:");
		document.write("<br />");
		for (var propName in window)
		{
			document.write(propName + ":" + window[propName]);
			document.write("<br />");
			
		}
		document.write("Global's props and values:");
		document.write("<br />");
		for (var propName in Global)
		{
			document.write(propName + ":" + Global[propName]);
			document.write("<br />");
			
		}
	</script>
  </head>
  
  <body>
   <a href="/myjsstudy">back</a>
  </body>
</html>
